HomeSort by: relevance | last modified time | path
    Searched defs:hctx (Results 1 - 2 of 2) sorted by relevancy

  /src/sys/external/isc/libsodium/dist/src/libsodium/crypto_pwhash/scryptsalsa208sha256/
pbkdf2-sha256.c 50 crypto_auth_hmacsha256_state PShctx, hctx; local in function:PBKDF2_SHA256
71 memcpy(&hctx, &PShctx, sizeof(crypto_auth_hmacsha256_state));
72 crypto_auth_hmacsha256_update(&hctx, ivec, 4);
73 crypto_auth_hmacsha256_final(&hctx, U);
78 crypto_auth_hmacsha256_init(&hctx, passwd, passwdlen);
79 crypto_auth_hmacsha256_update(&hctx, U, 32);
80 crypto_auth_hmacsha256_final(&hctx, U);
  /src/lib/libradius/
radlib.c 212 HMAC_CTX *hctx; local in function:is_valid_response
265 hctx = HMAC_CTX_new();
266 HMAC_Init_ex(hctx, srvp->secret,
268 HMAC_Update(hctx, &h->response[POS_CODE],
270 HMAC_Update(hctx, &h->request[POS_AUTH],
272 HMAC_Update(hctx, &resp[POS_ATTRS],
274 HMAC_Final(hctx, md, &md_len);
275 HMAC_CTX_free(hctx);

Completed in 12 milliseconds