Lines Matching defs:evp_cipher
193 static void multiblock_speed(const EVP_CIPHER *evp_cipher, int lengths_single,
1367 EVP_CIPHER *evp_cipher = NULL;
1524 if (!opt_cipher_silent(opt_arg(), &evp_cipher)) {
1528 if (evp_cipher == NULL && evp_md_name == NULL) {
1748 if (evp_cipher == NULL) {
1751 } else if (!(EVP_CIPHER_get_flags(evp_cipher) &
1754 EVP_CIPHER_get0_name(evp_cipher));
1759 if (evp_cipher == NULL) {
1763 } else if (!(EVP_CIPHER_get_flags(evp_cipher) &
1766 EVP_CIPHER_get0_name(evp_cipher));
2217 if (evp_cipher != NULL) {
2220 if (multiblock && (EVP_CIPHER_get_flags(evp_cipher) &
2222 multiblock_speed(evp_cipher, lengths_single, &seconds);
2227 names[D_EVP] = EVP_CIPHER_get0_name(evp_cipher);
2229 if (EVP_CIPHER_get_mode(evp_cipher) == EVP_CIPH_CCM_MODE) {
2231 } else if (aead && (EVP_CIPHER_get_flags(evp_cipher) &
2250 if (!EVP_CipherInit_ex(loopargs[k].ctx, evp_cipher, NULL,
2260 loopargs[k].key = app_malloc(keylen, "evp_cipher key");
2271 if (EVP_CIPHER_get_mode(evp_cipher) == EVP_CIPH_SIV_MODE)
3160 if (evp_cipher == NULL)
3162 else if ((alg_name = EVP_CIPHER_get0_name(evp_cipher)) == NULL)
3163 app_bail_out("failed to get name of cipher '%s'\n", evp_cipher);
3379 EVP_CIPHER_free(evp_cipher);
3633 static void multiblock_speed(const EVP_CIPHER *evp_cipher, int lengths_single,
3654 if (!EVP_EncryptInit_ex(ctx, evp_cipher, NULL, NULL, no_iv))
3661 key = app_malloc(keylen, "evp_cipher key");
3671 if ((alg_name = EVP_CIPHER_get0_name(evp_cipher)) == NULL)