Home
last modified time | relevance | path

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

/external/openthread/third_party/mbedtls/repo/library/
Dpk_wrap.c508 .ctx_alloc_func = rsa_alloc_wrap,
1138 .ctx_alloc_func = NULL,
1141 .ctx_alloc_func = eckey_alloc_wrap,
1171 .ctx_alloc_func = NULL,
1174 .ctx_alloc_func = eckey_alloc_wrap, /* Same underlying key structure */
1263 .ctx_alloc_func = NULL,
1266 .ctx_alloc_func = eckey_alloc_wrap, /* Compatible key structures */
1402 .ctx_alloc_func = rsa_alt_alloc_wrap,
1454 .ctx_alloc_func = NULL,
1577 .ctx_alloc_func = NULL,
Dcipher_wrap.h135 void * (*ctx_alloc_func)(void); member
Dpk_wrap.h80 void * (*ctx_alloc_func)(void); member
Dpk.c146 if ((info->ctx_alloc_func != NULL) && in mbedtls_pk_setup()
147 ((ctx->pk_ctx = info->ctx_alloc_func()) == NULL)) { in mbedtls_pk_setup()
211 if ((ctx->pk_ctx = info->ctx_alloc_func()) == NULL) { in mbedtls_pk_setup_rsa_alt()
Dcipher.c254 if (mbedtls_cipher_get_base(cipher_info)->ctx_alloc_func != NULL) { in mbedtls_cipher_setup()
255 ctx->cipher_ctx = mbedtls_cipher_get_base(cipher_info)->ctx_alloc_func(); in mbedtls_cipher_setup()
/external/mbedtls/library/
Dpk_wrap.c628 .ctx_alloc_func = rsa_alloc_wrap,
1400 .ctx_alloc_func = NULL,
1403 .ctx_alloc_func = eckey_alloc_wrap,
1433 .ctx_alloc_func = NULL,
1436 .ctx_alloc_func = eckey_alloc_wrap, /* Same underlying key structure */
1525 .ctx_alloc_func = NULL,
1528 .ctx_alloc_func = eckey_alloc_wrap, /* Compatible key structures */
1664 .ctx_alloc_func = rsa_alt_alloc_wrap,
1716 .ctx_alloc_func = NULL,
1827 .ctx_alloc_func = NULL,
Dcipher_wrap.h89 void * (*ctx_alloc_func)(void); member
Dpk_wrap.h80 void * (*ctx_alloc_func)(void); member
Dpk.c141 if ((info->ctx_alloc_func != NULL) && in mbedtls_pk_setup()
142 ((ctx->pk_ctx = info->ctx_alloc_func()) == NULL)) { in mbedtls_pk_setup()
206 if ((ctx->pk_ctx = info->ctx_alloc_func()) == NULL) { in mbedtls_pk_setup_rsa_alt()
Dcipher.c254 if (NULL == (ctx->cipher_ctx = mbedtls_cipher_get_base(cipher_info)->ctx_alloc_func())) { in mbedtls_cipher_setup()