Home
last modified time | relevance | path

Searched refs:masked_key (Results 1 – 1 of 1) sorted by relevance

/external/boringssl/src/crypto/hrss/
Dhrss.c2074 uint8_t masked_key[SHA256_CBLOCK]; in HRSS_decap() local
2075 OPENSSL_STATIC_ASSERT(sizeof(priv->hmac_key) <= sizeof(masked_key), in HRSS_decap()
2078 masked_key[i] = priv->hmac_key[i] ^ 0x36; in HRSS_decap()
2080 OPENSSL_memset(masked_key + sizeof(priv->hmac_key), 0x36, in HRSS_decap()
2081 sizeof(masked_key) - sizeof(priv->hmac_key)); in HRSS_decap()
2085 SHA256_Update(&hash_ctx, masked_key, sizeof(masked_key)); in HRSS_decap()
2091 masked_key[i] ^= (0x5c ^ 0x36); in HRSS_decap()
2093 OPENSSL_memset(masked_key + sizeof(priv->hmac_key), 0x5c, in HRSS_decap()
2094 sizeof(masked_key) - sizeof(priv->hmac_key)); in HRSS_decap()
2097 SHA256_Update(&hash_ctx, masked_key, sizeof(masked_key)); in HRSS_decap()