HomeSort by: relevance | last modified time | path
    Searched refs:sz_encoded_m_buf (Results 1 - 2 of 2) sorted by relevancy

  /src/crypto/external/bsd/netpgp/dist/src/lib/
crypto.c 199 const size_t sz_encoded_m_buf,
207 if (sz_encoded_m_buf != (size_t)BN_num_bytes(pubkey->key.rsa.n)) {
208 (void) fprintf(stderr, "sz_encoded_m_buf wrong\n");
213 sz_encoded_m_buf, &pubkey->key.rsa);
236 const size_t sz_encoded_m_buf,
245 if (sz_encoded_m_buf != (size_t)BN_num_bytes(pubkey->key.elgamal.p)) {
246 (void) fprintf(stderr, "sz_encoded_m_buf wrong\n");
251 sz_encoded_m_buf, &pubkey->key.elgamal);
create.c 956 size_t sz_encoded_m_buf; local
977 sz_encoded_m_buf = BN_num_bytes(pubkey->key.rsa.n);
981 sz_encoded_m_buf = BN_num_bytes(pubkey->key.elgamal.p);
984 sz_encoded_m_buf = 0;
987 if ((encoded_m_buf = calloc(1, sz_encoded_m_buf)) == NULL) {
1050 if (!pgp_rsa_encrypt_mpi(encoded_m_buf, sz_encoded_m_buf, pubkey,
1060 if (!pgp_elgamal_encrypt_mpi(encoded_m_buf, sz_encoded_m_buf, pubkey,

Completed in 23 milliseconds