Searched refs:SHA1LEN (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | dca_dsa.c | 66 if (buflen != SHA1LEN) { in dca_dsa_sign() 67 DBG(dca, DWARN, "dca_dsa_sign: data length != %d", SHA1LEN); in dca_dsa_sign() 95 err = dca_gather(data, reqp->dr_ibuf_kaddr, SHA1LEN, 1); in dca_dsa_sign() 104 (void) ddi_dma_sync(reqp->dr_ibuf_dmah, 0, SHA1LEN, in dca_dsa_sign() 115 reqp->dr_in_len = SHA1LEN; in dca_dsa_sign() 214 if (dca_length(data) != SHA1LEN) { in dca_dsa_verify() 215 DBG(dca, DWARN, "dca_dsa_verify: input length != %d", SHA1LEN); in dca_dsa_verify() 235 err = dca_gather(data, reqp->dr_ibuf_kaddr, SHA1LEN, 1); in dca_dsa_verify() 242 err = dca_gather(sig, reqp->dr_ibuf_kaddr+SHA1LEN, DSAPARTLEN, 1); in dca_dsa_verify() 249 err = dca_gather(sig, reqp->dr_ibuf_kaddr+SHA1LEN+DSAPARTLEN, in dca_dsa_verify() [all …]
|
/illumos-gate/usr/src/uts/common/sys/crypto/ |
H A D | dca.h | 76 #define SHA1LEN 20 /* Size of a SHA1 hash */ macro
|