Lines Matching refs:enc_alg
363 mbedtls_cipher_type_t enc_alg = MBEDTLS_CIPHER_NONE; in mbedtls_pem_read_buffer() local
430 enc_alg = MBEDTLS_CIPHER_DES_EDE3_CBC; in mbedtls_pem_read_buffer()
439 enc_alg = MBEDTLS_CIPHER_DES_CBC; in mbedtls_pem_read_buffer()
455 enc_alg = MBEDTLS_CIPHER_AES_128_CBC; in mbedtls_pem_read_buffer()
457 enc_alg = MBEDTLS_CIPHER_AES_192_CBC; in mbedtls_pem_read_buffer()
459 enc_alg = MBEDTLS_CIPHER_AES_256_CBC; in mbedtls_pem_read_buffer()
473 if (enc_alg == MBEDTLS_CIPHER_NONE) { in mbedtls_pem_read_buffer()
521 if (enc_alg == MBEDTLS_CIPHER_DES_EDE3_CBC) { in mbedtls_pem_read_buffer()
523 } else if (enc_alg == MBEDTLS_CIPHER_DES_CBC) { in mbedtls_pem_read_buffer()
529 if (enc_alg == MBEDTLS_CIPHER_AES_128_CBC) { in mbedtls_pem_read_buffer()
531 } else if (enc_alg == MBEDTLS_CIPHER_AES_192_CBC) { in mbedtls_pem_read_buffer()
533 } else if (enc_alg == MBEDTLS_CIPHER_AES_256_CBC) { in mbedtls_pem_read_buffer()