Home
last modified time | relevance | path

Searched refs:pinLen (Results 1 - 1 of 1) sorted by relevance

/base/security/device_auth/services/identity_manager/src/
H A Didentity_pin.c321 uint32_t pinLen = HcStrlen(pinCode); in GetSharedSecretForPinInPake() local
322 if (pinLen < PIN_CODE_LEN_SHORT) { in GetSharedSecretForPinInPake()
326 sharedSecret->val = (uint8_t *)HcMalloc(pinLen, 0); in GetSharedSecretForPinInPake()
331 if (memcpy_s(sharedSecret->val, pinLen, pinCode, pinLen) != HC_SUCCESS) { in GetSharedSecretForPinInPake()
336 sharedSecret->length = pinLen; in GetSharedSecretForPinInPake()

Completed in 1 milliseconds