Searched refs:mpi2bin (Results 1 – 1 of 1) sorted by relevance
/external/tpm2-tss/src/tss2-esys/ |
D | esys_crypto_gcrypt.c | 45 static gcry_error_t mpi2bin(gcry_mpi_t mpi, unsigned char *bin, in mpi2bin() function 613 err = mpi2bin(mpi_cipher, &out_buffer[0], key->publicArea.unique.rsa.size, max_out_size); in iesys_cryptogcry_pk_encrypt() 779 if (mpi2bin(mpi_x, &Q->x.buffer[0], max_ecc_size, max_out_size)) { in iesys_cryptogcry_get_ecdh_point() 784 if (mpi2bin(mpi_y, &Q->y.buffer[0], max_ecc_size, max_out_size)) { in iesys_cryptogcry_get_ecdh_point() 836 if (mpi2bin(mpi_x, &Z->buffer[0], max_ecc_size, TPM2_MAX_ECC_KEY_BYTES)) { in iesys_cryptogcry_get_ecdh_point()
|