Searched refs:p_bytes (Results 1 – 5 of 5) sorted by relevance
| /freebsd-12.1/crypto/openssl/crypto/sm2/ |
| H A D | sm2_sign.c | 39 int p_bytes = 0; in sm2_compute_z_digest() local 100 p_bytes = BN_num_bytes(p); in sm2_compute_z_digest() 101 buf = OPENSSL_zalloc(p_bytes); in sm2_compute_z_digest() 107 if (BN_bn2binpad(a, buf, p_bytes) < 0 in sm2_compute_z_digest() 108 || !EVP_DigestUpdate(hash, buf, p_bytes) in sm2_compute_z_digest() 109 || BN_bn2binpad(b, buf, p_bytes) < 0 in sm2_compute_z_digest() 110 || !EVP_DigestUpdate(hash, buf, p_bytes) in sm2_compute_z_digest() 114 || BN_bn2binpad(xG, buf, p_bytes) < 0 in sm2_compute_z_digest() 116 || BN_bn2binpad(yG, buf, p_bytes) < 0 in sm2_compute_z_digest() 121 || BN_bn2binpad(xA, buf, p_bytes) < 0 in sm2_compute_z_digest() [all …]
|
| /freebsd-12.1/lib/libcrypt/ |
| H A D | crypt-sha256.c | 71 char *cp, *p_bytes, *s_bytes, *endp; in crypt_sha256() local 154 cp = p_bytes = alloca(key_len); in crypt_sha256() 187 SHA256_Update(&ctx, p_bytes, key_len); in crypt_sha256() 197 SHA256_Update(&ctx, p_bytes, key_len); in crypt_sha256() 203 SHA256_Update(&ctx, p_bytes, key_len); in crypt_sha256() 240 memset(p_bytes, '\0', key_len); in crypt_sha256()
|
| H A D | crypt-sha512.c | 71 char *cp, *p_bytes, *s_bytes, *endp; in crypt_sha512() local 154 cp = p_bytes = alloca(key_len); in crypt_sha512() 187 SHA512_Update(&ctx, p_bytes, key_len); in crypt_sha512() 197 SHA512_Update(&ctx, p_bytes, key_len); in crypt_sha512() 203 SHA512_Update(&ctx, p_bytes, key_len); in crypt_sha512() 252 memset(p_bytes, '\0', key_len); in crypt_sha512()
|
| /freebsd-12.1/crypto/openssl/apps/ |
| H A D | passwd.c | 520 char *p_bytes = NULL; in shacrypt() local 649 if ((p_bytes = OPENSSL_zalloc(passwd_len)) == NULL) in shacrypt() 651 for (cp = p_bytes, n = passwd_len; n > buf_size; n -= buf_size, cp += buf_size) in shacrypt() 676 (n & 1) ? (unsigned const char *)p_bytes : buf, in shacrypt() 684 if (!EVP_DigestUpdate(md2, p_bytes, passwd_len)) in shacrypt() 688 (n & 1) ? buf : (unsigned const char *)p_bytes, in shacrypt() 698 OPENSSL_free(p_bytes); in shacrypt() 700 p_bytes = NULL; in shacrypt() 768 OPENSSL_free(p_bytes); in shacrypt()
|
| /freebsd-12.1/lib/libc/rpc/ |
| H A D | auth_time.c | 87 unsigned char p_bytes[2]; in uaddr_to_sockaddr() local 100 p_bytes[0] = (unsigned char)a[4] & 0x000000FF; in uaddr_to_sockaddr() 101 p_bytes[1] = (unsigned char)a[5] & 0x000000FF; in uaddr_to_sockaddr() 104 bcopy((char *)&p_bytes, (char *)&sin->sin_port, 2); in uaddr_to_sockaddr()
|