A D | persistent_token.c | 74 static enum pkcs11_rc do_hash(uint32_t user, const uint8_t *pin, in do_hash() argument 86 TEE_DigestUpdate(oh, &user, sizeof(user)); in do_hash() 98 enum pkcs11_rc hash_pin(enum pkcs11_user_type user, const uint8_t *pin, in hash_pin() argument 109 rc = do_hash(user, pin, pin_size, s, hash); in hash_pin() 115 enum pkcs11_rc verify_pin(enum pkcs11_user_type user, const uint8_t *pin, in verify_pin() argument 122 rc = do_hash(user, pin, pin_size, salt, tmp_hash); in verify_pin()
|