Searched refs:digest_len (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | sha1_mod.c | 329 ulong_t digest_len, uchar_t *digest_scratch) in sha1_digest_final_uio() argument 355 if (offset + digest_len <= in sha1_digest_final_uio() 361 if (digest_len != SHA1_DIGEST_LENGTH) { in sha1_digest_final_uio() 370 digest_len); in sha1_digest_final_uio() 385 size_t length = digest_len; in sha1_digest_final_uio() 474 ulong_t digest_len, uchar_t *digest_scratch) in sha1_digest_final_mblk() argument 493 if (offset + digest_len <= MBLKL(mp)) { in sha1_digest_final_mblk() 498 if (digest_len != SHA1_DIGEST_LENGTH) { in sha1_digest_final_mblk() 505 bcopy(digest_scratch, mp->b_rptr + offset, digest_len); in sha1_digest_final_mblk() 518 size_t length = digest_len; in sha1_digest_final_mblk() [all …]
|
H A D | sha2_mod.c | 356 ulong_t digest_len, uchar_t *digest_scratch) in sha2_digest_final_uio() argument 382 if (offset + digest_len <= in sha2_digest_final_uio() 389 (digest_len != SHA256_DIGEST_LENGTH)) || in sha2_digest_final_uio() 391 (digest_len != SHA512_DIGEST_LENGTH))) { in sha2_digest_final_uio() 401 digest_len); in sha2_digest_final_uio() 417 size_t length = digest_len; in sha2_digest_final_uio() 507 ulong_t digest_len, uchar_t *digest_scratch) in sha2_digest_final_mblk() argument 526 if (offset + digest_len <= MBLKL(mp)) { in sha2_digest_final_mblk() 532 (digest_len != SHA256_DIGEST_LENGTH)) || in sha2_digest_final_mblk() 534 (digest_len != SHA512_DIGEST_LENGTH))) { in sha2_digest_final_mblk() [all …]
|
H A D | md5_mod.c | 383 ulong_t digest_len, uchar_t *digest_scratch) in md5_digest_final_uio() argument 409 if (offset + digest_len <= in md5_digest_final_uio() 415 if (digest_len != MD5_DIGEST_LENGTH) { in md5_digest_final_uio() 424 digest_len); in md5_digest_final_uio() 439 size_t length = digest_len; in md5_digest_final_uio() 528 ulong_t digest_len, uchar_t *digest_scratch) in md5_digest_final_mblk() argument 547 if (offset + digest_len <= MBLKL(mp)) { in md5_digest_final_mblk() 552 if (digest_len != MD5_DIGEST_LENGTH) { in md5_digest_final_mblk() 559 bcopy(digest_scratch, mp->b_rptr + offset, digest_len); in md5_digest_final_mblk() 572 size_t length = digest_len; in md5_digest_final_mblk() [all …]
|
H A D | md4_mod.c | 298 ulong_t digest_len, uchar_t *digest_scratch) in md4_digest_final_uio() argument 324 if (offset + digest_len <= in md4_digest_final_uio() 330 if (digest_len != MD4_DIGEST_LENGTH) { in md4_digest_final_uio() 339 digest_len); in md4_digest_final_uio() 354 size_t length = digest_len; in md4_digest_final_uio() 443 ulong_t digest_len, uchar_t *digest_scratch) in md4_digest_final_mblk() argument 462 if (offset + digest_len <= MBLKL(mp)) { in md4_digest_final_mblk() 467 if (digest_len != MD4_DIGEST_LENGTH) { in md4_digest_final_mblk() 474 bcopy(digest_scratch, mp->b_rptr + offset, digest_len); in md4_digest_final_mblk() 487 size_t length = digest_len; in md4_digest_final_mblk()
|
/illumos-gate/usr/src/test/crypto-tests/tests/digest/ |
H A D | parser_runner.c | 307 digest_runner(char *mech_name, const char *input_file, size_t digest_len) in digest_runner() argument 332 ctx = parser_init(path, digest_len, &error); in digest_runner() 343 fails += run_test(&args, ent->pe_hash, digest_len, DIGEST_FG); in digest_runner()
|
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/ |
H A D | pkinit_crypto_openssl.c | 996 unsigned int alg_len = 0, digest_len = 0; in cms_signeddata_create() local 1185 digest_len = i2d_ASN1_OCTET_STRING(digest, NULL); in cms_signeddata_create() 1186 digest_buf = (unsigned char *)malloc(digest_len); in cms_signeddata_create() 1190 digestInfo_len = ASN1_object_size(1, (int)(alg_len + digest_len), in cms_signeddata_create() 1195 ASN1_put_object(&y, 1, (int)(alg_len + digest_len), V_ASN1_SEQUENCE, in cms_signeddata_create()
|