Home
last modified time | relevance | path

Searched refs:kw_ctx (Results 1 – 1 of 1) sorted by relevance

/optee_os-3.20.0/ta/pkcs11/src/
A Dprocessing_asymm.c949 mbedtls_nist_kw_context kw_ctx = { }; in wrap_rsa_aes_key() local
962 mbedtls_nist_kw_init(&kw_ctx); in wrap_rsa_aes_key()
983 mbedtls_rc = mbedtls_nist_kw_setkey(&kw_ctx, MBEDTLS_CIPHER_ID_AES, in wrap_rsa_aes_key()
995 mbedtls_rc = mbedtls_nist_kw_wrap(&kw_ctx, MBEDTLS_KW_MODE_KWP, in wrap_rsa_aes_key()
1009 mbedtls_nist_kw_free(&kw_ctx); in wrap_rsa_aes_key()
1023 mbedtls_nist_kw_context kw_ctx = { }; in unwrap_rsa_aes_key() local
1044 mbedtls_nist_kw_init(&kw_ctx); in unwrap_rsa_aes_key()
1054 mbedtls_rc = mbedtls_nist_kw_setkey(&kw_ctx, MBEDTLS_CIPHER_ID_AES, in unwrap_rsa_aes_key()
1062 mbedtls_rc = mbedtls_nist_kw_unwrap(&kw_ctx, MBEDTLS_KW_MODE_KWP, in unwrap_rsa_aes_key()
1074 mbedtls_nist_kw_free(&kw_ctx); in unwrap_rsa_aes_key()

Completed in 3 milliseconds