Lines Matching defs:digest
66 isc_hmacsha1_sign(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len) {
74 memmove(digest, newdigest, len);
104 isc_hmacsha224_sign(isc_hmacsha224_t *ctx, unsigned char *digest, size_t len) {
112 memmove(digest, newdigest, len);
142 isc_hmacsha256_sign(isc_hmacsha256_t *ctx, unsigned char *digest, size_t len) {
150 memmove(digest, newdigest, len);
180 isc_hmacsha384_sign(isc_hmacsha384_t *ctx, unsigned char *digest, size_t len) {
188 memmove(digest, newdigest, len);
218 isc_hmacsha512_sign(isc_hmacsha512_t *ctx, unsigned char *digest, size_t len) {
226 memmove(digest, newdigest, len);
319 isc_hmacsha1_sign(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len) {
331 memmove(digest, newdigest, len);
391 isc_hmacsha1_sign(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len) {
415 memmove(digest, newdigest, len);
489 isc_hmacsha224_sign(isc_hmacsha224_t *ctx, unsigned char *digest, size_t len) {
501 memmove(digest, newdigest, len);
561 isc_hmacsha224_sign(isc_hmacsha224_t *ctx, unsigned char *digest, size_t len) {
585 memmove(digest, newdigest, len);
659 isc_hmacsha256_sign(isc_hmacsha256_t *ctx, unsigned char *digest, size_t len) {
671 memmove(digest, newdigest, len);
731 isc_hmacsha256_sign(isc_hmacsha256_t *ctx, unsigned char *digest, size_t len) {
755 memmove(digest, newdigest, len);
829 isc_hmacsha384_sign(isc_hmacsha384_t *ctx, unsigned char *digest, size_t len) {
841 memmove(digest, newdigest, len);
901 isc_hmacsha384_sign(isc_hmacsha384_t *ctx, unsigned char *digest, size_t len) {
925 memmove(digest, newdigest, len);
999 isc_hmacsha512_sign(isc_hmacsha512_t *ctx, unsigned char *digest, size_t len) {
1011 memmove(digest, newdigest, len);
1071 isc_hmacsha512_sign(isc_hmacsha512_t *ctx, unsigned char *digest, size_t len) {
1095 memmove(digest, newdigest, len);
1106 * Start HMAC-SHA1 process. Initialize an sha1 context and digest the key.
1152 isc_hmacsha1_sign(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len) {
1169 memmove(digest, newdigest, len);
1174 * Start HMAC-SHA224 process. Initialize an sha224 context and digest the key.
1219 isc_hmacsha224_sign(isc_hmacsha224_t *ctx, unsigned char *digest, size_t len) {
1235 memmove(digest, newdigest, len);
1240 * Start HMAC-SHA256 process. Initialize an sha256 context and digest the key.
1285 isc_hmacsha256_sign(isc_hmacsha256_t *ctx, unsigned char *digest, size_t len) {
1301 memmove(digest, newdigest, len);
1306 * Start HMAC-SHA384 process. Initialize an sha384 context and digest the key.
1351 isc_hmacsha384_sign(isc_hmacsha384_t *ctx, unsigned char *digest, size_t len) {
1367 memmove(digest, newdigest, len);
1372 * Start HMAC-SHA512 process. Initialize an sha512 context and digest the key.
1417 isc_hmacsha512_sign(isc_hmacsha512_t *ctx, unsigned char *digest, size_t len) {
1433 memmove(digest, newdigest, len);
1440 * compare to the supplied digest.
1443 isc_hmacsha1_verify(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len) {
1448 return (isc_safe_memequal(digest, newdigest, len));
1453 * compare to the supplied digest.
1456 isc_hmacsha224_verify(isc_hmacsha224_t *ctx, unsigned char *digest, size_t len) {
1461 return (isc_safe_memequal(digest, newdigest, len));
1466 * compare to the supplied digest.
1469 isc_hmacsha256_verify(isc_hmacsha256_t *ctx, unsigned char *digest, size_t len) {
1474 return (isc_safe_memequal(digest, newdigest, len));
1479 * compare to the supplied digest.
1482 isc_hmacsha384_verify(isc_hmacsha384_t *ctx, unsigned char *digest, size_t len) {
1487 return (isc_safe_memequal(digest, newdigest, len));
1492 * compare to the supplied digest.
1495 isc_hmacsha512_verify(isc_hmacsha512_t *ctx, unsigned char *digest, size_t len) {
1500 return (isc_safe_memequal(digest, newdigest, len));