Searched refs:p_bytes (Results 1 - 5 of 5) sorted by relevance

/freebsd-13-stable/crypto/openssl/crypto/sm2/
H A Dsm2_sign.c39 int p_bytes = 0; local
100 p_bytes = BN_num_bytes(p);
101 buf = OPENSSL_zalloc(p_bytes);
107 if (BN_bn2binpad(a, buf, p_bytes) < 0
108 || !EVP_DigestUpdate(hash, buf, p_bytes)
109 || BN_bn2binpad(b, buf, p_bytes) < 0
110 || !EVP_DigestUpdate(hash, buf, p_bytes)
114 || BN_bn2binpad(xG, buf, p_bytes) < 0
115 || !EVP_DigestUpdate(hash, buf, p_bytes)
116 || BN_bn2binpad(yG, buf, p_bytes) <
[all...]
/freebsd-13-stable/lib/libcrypt/
H A Dcrypt-sha256.c71 char *cp, *p_bytes, *s_bytes, *endp; local
154 cp = p_bytes = alloca(key_len);
187 SHA256_Update(&ctx, p_bytes, key_len);
197 SHA256_Update(&ctx, p_bytes, key_len);
203 SHA256_Update(&ctx, p_bytes, key_len);
240 memset(p_bytes, '\0', key_len);
H A Dcrypt-sha512.c71 char *cp, *p_bytes, *s_bytes, *endp; local
154 cp = p_bytes = alloca(key_len);
187 SHA512_Update(&ctx, p_bytes, key_len);
197 SHA512_Update(&ctx, p_bytes, key_len);
203 SHA512_Update(&ctx, p_bytes, key_len);
252 memset(p_bytes, '\0', key_len);
/freebsd-13-stable/lib/libc/rpc/
H A Dauth_time.c87 unsigned char p_bytes[2]; local
100 p_bytes[0] = (unsigned char)a[4] & 0x000000FF;
101 p_bytes[1] = (unsigned char)a[5] & 0x000000FF;
104 bcopy((char *)&p_bytes, (char *)&sin->sin_port, 2);
/freebsd-13-stable/crypto/openssl/apps/
H A Dpasswd.c520 char *p_bytes = NULL; local
649 if ((p_bytes = OPENSSL_zalloc(passwd_len)) == NULL)
651 for (cp = p_bytes, n = passwd_len; n > buf_size; n -= buf_size, cp += buf_size)
676 (n & 1) ? (unsigned const char *)p_bytes : buf,
684 if (!EVP_DigestUpdate(md2, p_bytes, passwd_len))
688 (n & 1) ? buf : (unsigned const char *)p_bytes,
698 OPENSSL_free(p_bytes);
700 p_bytes = NULL;
768 OPENSSL_free(p_bytes);

Completed in 190 milliseconds