Lines Matching refs:os_malloc
562 aes = os_malloc(sizeof(Aes)); in aes_encrypt_init()
564 LOG_WOLF_ERROR_FUNC_NULL(os_malloc); in aes_encrypt_init()
611 aes = os_malloc(sizeof(Aes)); in aes_decrypt_init()
613 LOG_WOLF_ERROR_FUNC_NULL(os_malloc); in aes_decrypt_init()
1084 dh = os_malloc(sizeof(DhKey)); in crypto_dh_init()
1134 dh = os_malloc(sizeof(DhKey)); in crypto_dh_derive_secret()
1312 a = os_malloc(sizeof(*a)); in crypto_bignum_init()
1412 buf = os_malloc(len); in crypto_bignum_rand()
2925 der = os_malloc(der_len); in crypto_ec_key_get_public_key()
2927 LOG_WOLF_ERROR_FUNC_NULL(os_malloc); in crypto_ec_key_get_public_key()
3098 buf = os_malloc(buf_len); in crypto_ec_key_set_pub_point()
3100 LOG_WOLF_ERROR_FUNC_NULL(os_malloc); in crypto_ec_key_set_pub_point()
3273 struct crypto_csr *ret = os_malloc(sizeof(struct crypto_csr)); in crypto_csr_init()
3276 LOG_WOLF_ERROR_FUNC_NULL(os_malloc); in crypto_csr_init()
3489 buf = os_malloc(buf_len); in crypto_csr_sign()
3491 LOG_WOLF_ERROR_FUNC_NULL(os_malloc); in crypto_csr_sign()