Lines Matching refs: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) {
1237 const char *keyword, const char *value)
1241 if (strcmp(keyword, "Key") == 0)
1243 if (strcmp(keyword, "IV") == 0)
1245 if (strcmp(keyword, "Custom") == 0)
1247 if (strcmp(keyword, "Salt") == 0)
1249 if (strcmp(keyword, "Algorithm") == 0) {
1255 if (strcmp(keyword, "Input") == 0)
1257 if (strcmp(keyword, "Output") == 0)
1259 if (strcmp(keyword, "XOF") == 0)
1261 if (strcmp(keyword, "NoReinit") == 0)
1263 if (strcmp(keyword, "Ctrl") == 0) {
1270 if (strcmp(keyword, "OutputSize") == 0) {
1276 if (strcmp(keyword, "BlockSize") == 0) {
1793 const char *keyword, const char *value)
1796 if (strcmp(keyword, "Input") == 0)
1798 if (strcmp(keyword, "Output") == 0)
1800 if (strcmp(keyword, "Ctrl") == 0)
1929 const char *keyword, const char *value)
1934 if (strcmp(keyword, "PeerKeyValidate") == 0)
1937 if (validate || strcmp(keyword, "PeerKey") == 0) {
1948 if (strcmp(keyword, "SharedSecret") == 0)
1950 if (strcmp(keyword, "Ctrl") == 0)
1952 if (strcmp(keyword, "KDFType") == 0) {
1962 if (strcmp(keyword, "KDFDigest") == 0) {
1972 if (strcmp(keyword, "CEKAlg") == 0) {
1982 if (strcmp(keyword, "KDFOutlen") == 0) {
2100 const char *keyword, const char *value)
2104 if (strcmp(keyword, "N") == 0)
2106 if (strcmp(keyword, "p") == 0)
2108 if (strcmp(keyword, "r") == 0)
2110 if (strcmp(keyword, "maxmem") == 0)
2117 const char *keyword, const char *value)
2121 if (strcmp(keyword, "iter") == 0) {
2127 if (strcmp(keyword, "MD") == 0) {
2137 const char *keyword, const char *value)
2141 if (strcmp(keyword, "id") == 0) {
2147 return pbkdf2_test_parse(t, keyword, value);
2187 const char *keyword, const char *value)
2191 if (strcmp(keyword, "Password") == 0)
2193 if (strcmp(keyword, "Salt") == 0)
2195 if (strcmp(keyword, "Key") == 0)
2198 return pbkdf2_test_parse(t, keyword, value);
2200 return pkcs12_test_parse(t, keyword, value);
2203 return scrypt_test_parse(t, keyword, value);
2332 const char *keyword, const char *value)
2336 if (strcmp(keyword, "Input") == 0)
2338 if (strcmp(keyword, "Output") == 0)
2523 const char *keyword, const char *value)
2530 if ((p = strchr(keyword, '.')) != NULL) {
2537 if (strncmp(keyword, "Entropy.", sizeof("Entropy")) == 0)
2539 if (strncmp(keyword, "ReseedEntropy.", sizeof("ReseedEntropy")) == 0)
2542 if (strncmp(keyword, "Nonce.", sizeof("Nonce")) == 0)
2544 if (strncmp(keyword, "PersonalisationString.",
2547 if (strncmp(keyword, "ReseedAdditionalInput.",
2551 if (strncmp(keyword, "AdditionalInputA.",
2554 if (strncmp(keyword, "AdditionalInputB.",
2557 if (strncmp(keyword, "EntropyPredictionResistanceA.",
2560 if (strncmp(keyword, "EntropyPredictionResistanceB.",
2563 if (strncmp(keyword, "Output.", sizeof("Output")) == 0)
2566 if (strcmp(keyword, "Cipher") == 0)
2568 if (strcmp(keyword, "Digest") == 0)
2570 if (strcmp(keyword, "DerivationFunction") == 0) {
2574 if (strcmp(keyword, "GenerateBits") == 0) {
2580 if (strcmp(keyword, "PredictionResistance") == 0) {
2805 const char *keyword, const char *value)
2809 if (strcmp(keyword, "Output") == 0)
2811 if (strncmp(keyword, "Ctrl", 4) == 0)
2905 const char *keyword, const char *value)
2909 if (strcmp(keyword, "Output") == 0)
2911 if (strncmp(keyword, "Ctrl", 4) == 0)
3034 static int void_test_parse(EVP_TEST *t, const char *keyword, const char *value)
3143 const char *keyword, const char *value)
3147 if (strcmp(keyword, "KeyName") == 0)
3149 if (strcmp(keyword, "Ctrl") == 0)
3267 const char *keyword, const char *value)
3271 if (strcmp(keyword, "Key") == 0) {
3296 if (strcmp(keyword, "Input") == 0) {
3301 if (strcmp(keyword, "Output") == 0)
3305 if (strcmp(keyword, "Count") == 0)
3307 if (strcmp(keyword, "Ncopy") == 0)
3310 if (strcmp(keyword, "Ctrl") == 0) {
3871 /* Find the test, based on first keyword. */
3918 TEST_info("Line %d: unknown keyword %s", t->s.curr, pp->key);
3922 TEST_info("Line %d: error processing keyword %s = %s\n",