Lines Matching defs:Value

86 struct Value {
87 Value(const uint8_t* orig, int origLen) {
93 Value() {
102 ValueString(const Value* orig) {
164 static int encode_key(char* out, const Value* key) {
180 static int encode_key_for_uid(char* out, uid_t uid, const Value* key) {
475 ResponseCode initialize(Value* pw) {
487 ResponseCode writeMasterKey(Value* pw) {
496 ResponseCode readMasterKey(Value* pw) {
615 void addGrant(const char* filename, const Value* uidValue) {
630 bool removeGrant(const char* filename, const Value* uidValue) {
650 ResponseCode importKey(const Value* key, const char* filename) {
729 static void generateKeyFromPassword(uint8_t* key, ssize_t keySize, Value* pw, uint8_t* salt) {
764 bool convertToUid(const Value* uidValue, uid_t* uid) const {
829 Value pkcs8key;
895 static ResponseCode get_key_for_name(KeyStore* keyStore, Blob* keyBlob, const Value* keyName,
935 static ResponseCode test(KeyStore* keyStore, int, uid_t, Value*, Value*, Value*) {
939 static ResponseCode get(KeyStore* keyStore, int sock, uid_t uid, Value* keyName, Value*, Value*) {
952 static ResponseCode insert(KeyStore* keyStore, int, uid_t uid, Value* keyName, Value* val,
953 Value*) {
960 static ResponseCode del(KeyStore* keyStore, int, uid_t uid, Value* keyName, Value*, Value*) {
971 static ResponseCode exist(KeyStore*, int, uid_t uid, Value* keyName, Value*, Value*) {
980 static ResponseCode saw(KeyStore*, int sock, uid_t uid, Value* keyPrefix, Value*, Value*) {
1001 static ResponseCode reset(KeyStore* keyStore, int, uid_t, Value*, Value*, Value*) {
1029 static ResponseCode password(KeyStore* keyStore, int, uid_t, Value* pw, Value*, Value*) {
1047 static ResponseCode lock(KeyStore* keyStore, int, uid_t, Value*, Value*, Value*) {
1052 static ResponseCode unlock(KeyStore* keyStore, int sock, uid_t uid, Value* pw, Value* unused,
1053 Value* unused2) {
1057 static ResponseCode zero(KeyStore* keyStore, int, uid_t, Value*, Value*, Value*) {
1061 static ResponseCode generate(KeyStore* keyStore, int, uid_t uid, Value* keyName, Value*,
1062 Value*) {
1094 static ResponseCode import(KeyStore* keyStore, int, uid_t uid, Value* keyName, Value* key,
1095 Value*) {
1114 static ResponseCode get_pubkey(KeyStore* keyStore, int sock, uid_t uid, Value* keyName, Value*, Value*) {
1149 static ResponseCode del_key(KeyStore* keyStore, int, uid_t uid, Value* keyName, Value*,
1150 Value*) {
1180 static ResponseCode sign(KeyStore* keyStore, int sock, uid_t uid, Value* keyName, Value* data,
1181 Value*) {
1221 static ResponseCode verify(KeyStore* keyStore, int, uid_t uid, Value* keyName, Value* data,
1222 Value* signature) {
1253 static ResponseCode grant(KeyStore* keyStore, int, uid_t uid, Value* keyName,
1254 Value* granteeData, Value*) {
1265 static ResponseCode ungrant(KeyStore* keyStore, int, uid_t uid, Value* keyName,
1266 Value* granteeData, Value*) {
1276 static ResponseCode getmtime(KeyStore*, int sock, uid_t uid, Value* keyName,
1277 Value*, Value*) {
1332 ResponseCode (*run)(KeyStore* keyStore, int sock, uid_t uid, Value* param1, Value* param2,
1333 Value* param3);
1398 Value params[MAX_PARAM];