Home
last modified time | relevance | path

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

/aosp12/system/core/mini_keyctl/
H A Dmini_keyctl.cpp119 const int kMaxSupportedSize = 256; in RetrieveSecurityContext() local
121 context.resize(kMaxSupportedSize); in RetrieveSecurityContext()
122 long retval = keyctl_get_security(key, context.data(), kMaxSupportedSize); in RetrieveSecurityContext()
127 if (retval > kMaxSupportedSize) { in RetrieveSecurityContext()
128 error(1, 0, "The key has unexpectedly long security context than %d", kMaxSupportedSize); in RetrieveSecurityContext()