Home
last modified time | relevance | path

Searched refs:cipher_psa (Results 1 - 1 of 1) sorted by relevance

/third_party/mbedtls/library/
H A Dcipher.c215 mbedtls_cipher_context_psa * const cipher_psa = in mbedtls_cipher_free() local
218 if (cipher_psa->slot_state == MBEDTLS_CIPHER_PSA_KEY_OWNED) { in mbedtls_cipher_free()
220 (void) psa_destroy_key(cipher_psa->slot); in mbedtls_cipher_free()
223 mbedtls_zeroize_and_free(cipher_psa, sizeof(*cipher_psa)); in mbedtls_cipher_free()
272 mbedtls_cipher_context_psa *cipher_psa; in mbedtls_cipher_setup_psa() local
290 cipher_psa = mbedtls_calloc(1, sizeof(mbedtls_cipher_context_psa)); in mbedtls_cipher_setup_psa()
291 if (cipher_psa == NULL) { in mbedtls_cipher_setup_psa()
294 cipher_psa->alg = alg; in mbedtls_cipher_setup_psa()
295 ctx->cipher_ctx = cipher_psa; in mbedtls_cipher_setup_psa()
322 mbedtls_cipher_context_psa * const cipher_psa = mbedtls_cipher_setkey() local
1321 mbedtls_cipher_context_psa * const cipher_psa = mbedtls_cipher_crypt() local
1416 mbedtls_cipher_context_psa * const cipher_psa = mbedtls_cipher_aead_encrypt() local
1493 mbedtls_cipher_context_psa * const cipher_psa = mbedtls_cipher_aead_decrypt() local
[all...]

Completed in 2 milliseconds