Lines Matching defs:keyword
376 const char *keyword, const char *value)
380 if (strcmp(keyword, "Input") == 0)
382 if (strcmp(keyword, "Output") == 0)
384 if (strcmp(keyword, "Count") == 0)
386 if (strcmp(keyword, "Ncopy") == 0)
388 if (strcmp(keyword, "Padding") == 0)
611 static int cipher_test_parse(EVP_TEST *t, const char *keyword,
617 if (strcmp(keyword, "Key") == 0)
619 if (strcmp(keyword, "Rounds") == 0) {
626 if (strcmp(keyword, "IV") == 0)
628 if (strcmp(keyword, "NextIV") == 0)
630 if (strcmp(keyword, "Plaintext") == 0)
632 if (strcmp(keyword, "Ciphertext") == 0)
634 if (strcmp(keyword, "KeyBits") == 0) {
644 if (strcmp(keyword, "TLSAAD") == 0)
646 if (strcmp(keyword, "AAD") == 0 || tls_aad) {
653 if (strcmp(keyword, "Tag") == 0)
655 if (strcmp(keyword, "SetTagLate") == 0) {
664 if (strcmp(keyword, "MACKey") == 0)
666 if (strcmp(keyword, "TLSVersion") == 0) {
674 if (strcmp(keyword, "Operation") == 0) {
683 if (strcmp(keyword, "CTSMode") == 0) {
1225 const char *keyword, const char *value)
1229 if (strcmp(keyword, "Key") == 0)
1231 if (strcmp(keyword, "IV") == 0)
1233 if (strcmp(keyword, "Custom") == 0)
1235 if (strcmp(keyword, "Salt") == 0)
1237 if (strcmp(keyword, "Algorithm") == 0) {
1243 if (strcmp(keyword, "Input") == 0)
1245 if (strcmp(keyword, "Output") == 0)
1247 if (strcmp(keyword, "XOF") == 0)
1249 if (strcmp(keyword, "NoReinit") == 0)
1251 if (strcmp(keyword, "Ctrl") == 0) {
1258 if (strcmp(keyword, "OutputSize") == 0) {
1264 if (strcmp(keyword, "BlockSize") == 0) {
1757 const char *keyword, const char *value)
1760 if (strcmp(keyword, "Input") == 0)
1762 if (strcmp(keyword, "Output") == 0)
1764 if (strcmp(keyword, "Ctrl") == 0)
1893 const char *keyword, const char *value)
1898 if (strcmp(keyword, "PeerKeyValidate") == 0)
1901 if (validate || strcmp(keyword, "PeerKey") == 0) {
1912 if (strcmp(keyword, "SharedSecret") == 0)
1914 if (strcmp(keyword, "Ctrl") == 0)
1916 if (strcmp(keyword, "KDFType") == 0) {
1926 if (strcmp(keyword, "KDFDigest") == 0) {
1936 if (strcmp(keyword, "CEKAlg") == 0) {
1946 if (strcmp(keyword, "KDFOutlen") == 0) {
2064 const char *keyword, const char *value)
2068 if (strcmp(keyword, "N") == 0)
2070 if (strcmp(keyword, "p") == 0)
2072 if (strcmp(keyword, "r") == 0)
2074 if (strcmp(keyword, "maxmem") == 0)
2081 const char *keyword, const char *value)
2085 if (strcmp(keyword, "iter") == 0) {
2091 if (strcmp(keyword, "MD") == 0) {
2101 const char *keyword, const char *value)
2105 if (strcmp(keyword, "id") == 0) {
2111 return pbkdf2_test_parse(t, keyword, value);
2151 const char *keyword, const char *value)
2155 if (strcmp(keyword, "Password") == 0)
2157 if (strcmp(keyword, "Salt") == 0)
2159 if (strcmp(keyword, "Key") == 0)
2162 return pbkdf2_test_parse(t, keyword, value);
2164 return pkcs12_test_parse(t, keyword, value);
2167 return scrypt_test_parse(t, keyword, value);
2296 const char *keyword, const char *value)
2300 if (strcmp(keyword, "Input") == 0)
2302 if (strcmp(keyword, "Output") == 0)
2487 const char *keyword, const char *value)
2494 if ((p = strchr(keyword, '.')) != NULL) {
2501 if (strncmp(keyword, "Entropy.", sizeof("Entropy")) == 0)
2503 if (strncmp(keyword, "ReseedEntropy.", sizeof("ReseedEntropy")) == 0)
2506 if (strncmp(keyword, "Nonce.", sizeof("Nonce")) == 0)
2508 if (strncmp(keyword, "PersonalisationString.",
2511 if (strncmp(keyword, "ReseedAdditionalInput.",
2515 if (strncmp(keyword, "AdditionalInputA.",
2518 if (strncmp(keyword, "AdditionalInputB.",
2521 if (strncmp(keyword, "EntropyPredictionResistanceA.",
2524 if (strncmp(keyword, "EntropyPredictionResistanceB.",
2527 if (strncmp(keyword, "Output.", sizeof("Output")) == 0)
2530 if (strcmp(keyword, "Cipher") == 0)
2532 if (strcmp(keyword, "Digest") == 0)
2534 if (strcmp(keyword, "DerivationFunction") == 0) {
2538 if (strcmp(keyword, "GenerateBits") == 0) {
2544 if (strcmp(keyword, "PredictionResistance") == 0) {
2769 const char *keyword, const char *value)
2773 if (strcmp(keyword, "Output") == 0)
2775 if (strncmp(keyword, "Ctrl", 4) == 0)
2869 const char *keyword, const char *value)
2873 if (strcmp(keyword, "Output") == 0)
2875 if (strncmp(keyword, "Ctrl", 4) == 0)
2998 static int void_test_parse(EVP_TEST *t, const char *keyword, const char *value)
3107 const char *keyword, const char *value)
3111 if (strcmp(keyword, "KeyName") == 0)
3113 if (strcmp(keyword, "Ctrl") == 0)
3231 const char *keyword, const char *value)
3235 if (strcmp(keyword, "Key") == 0) {
3260 if (strcmp(keyword, "Input") == 0) {
3265 if (strcmp(keyword, "Output") == 0)
3269 if (strcmp(keyword, "Count") == 0)
3271 if (strcmp(keyword, "Ncopy") == 0)
3274 if (strcmp(keyword, "Ctrl") == 0) {
3835 /* Find the test, based on first keyword. */
3882 TEST_info("Line %d: unknown keyword %s", t->s.curr, pp->key);
3886 TEST_info("Line %d: error processing keyword %s = %s\n",