Home
last modified time | relevance | path

Searched defs:hmacprfKeyManager (Results 1 – 1 of 1) sorted by relevance

/aosp_15_r20/external/tink/go/prf/
H A Dhmac_prf_key_manager.go42 type hmacprfKeyManager struct{} struct
45 func (km *hmacprfKeyManager) Primitive(serializedKey []byte) (interface{}, error) {
65 func (km *hmacprfKeyManager) NewKey(serializedKeyFormat []byte) (proto.Message, error) {
85 func (km *hmacprfKeyManager) NewKeyData(serializedKeyFormat []byte) (*tinkpb.KeyData, error) {
103 func (km *hmacprfKeyManager) DoesSupport(typeURL string) bool {
108 func (km *hmacprfKeyManager) TypeURL() string {
114 func (km *hmacprfKeyManager) validateKey(key *hmacpb.HmacPrfKey) error {
125 func (km *hmacprfKeyManager) KeyMaterialType() tinkpb.KeyData_KeyMaterialType {
130 …Manager) DeriveKey(serializedKeyFormat []byte, pseudorandomness io.Reader) (proto.Message, error) {
157 func (km *hmacprfKeyManager) validateKeyFormat(format *hmacpb.HmacPrfKeyFormat) error {